package com.cn.service;

import com.cn.cloud.entities.CommonResult;
import com.cn.cloud.entities.People;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Component
@FeignClient(value = "CLOUD-DTGX-SERVICE")
public interface DtgxPeopleService {

    @PostMapping("/dtgx/people/create")
    public CommonResult create(@RequestBody People people);

}
